#pragma once
#include "CScinEditWnd.h"
#include <afxwin.h>
#include "SciLexer.h"
#include "Scintilla.h"
#include <map>
class CFindResultWnd :
    public CScinEditWnd
{
public:

	CFindResultWnd(void);

	~CFindResultWnd(void);
	void ShowFindResult();
	size_t GetCurrLine();
	void SetResultMap(map<int, string> &findMap);
	void SetSearchString(string& searchstr);
	//void InsertLogRecord(vector<CLogRecord> &vlogRecord);
protected:
	DECLARE_MESSAGE_MAP()
public:
	void InitFindEdit(int nSize, const TCHAR* face);
private:
	void SetDefaultColorFont(int nSize, const TCHAR* face);
	void SetFindEditStyle(void);
private:
	map<int, string> m_findMap;
	string m_SearchStr;
};

